<template>
	<view>
		
		<web-view :src="'/static/'+name+'.html'"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'',
				name:''
			};
		},
		onLoad(option) {
			this.title=option.title
			this.name=option.name
			uni.setNavigationBarTitle({
				title:option.title
			})
		}
	}
</script>

<style lang="scss">

</style>
